﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Recovery.aspx.cs" Inherits="Admin.Tax.Recovery" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>恢复数据库</title>
    <link href="/Admin/Css/rightbar.css?FileVersion=<%=FileVersion %>" rel="stylesheet"
        type="text/css" />
    <script src="/Admin/Scripts/jquery-1.4.1.min.js?FileVersion=<%=FileVersion %>" type="text/javascript"></script>
</head>
<body style="background-color: #ffffff;">
    <div id="logined">
        <div id="loginedright" style="padding-top: 15px;">
            <div class="introduce">
                <form id="form1" name="form1" action="Recovery.aspx?action=recovery" method="post"
                enctype="multipart/form-data">
                <div class="btudiv">
                    <ul style="width: 800px;">
                        <li>
                            <div style="padding-right: 20px; padding-left: 20px; text-align: left;">
                                <input id="fUpFile" name="fUpFile" type="file" /></div>
                            <div style="padding-right: 20px; padding-left: 20px; padding-top: 10px;">
                                选择文件后，点击“恢复数据”按钮执行数据库恢复操作<input name="Submit1" type="submit" id="Submit1" class="button_sure"
                                    onclick="return CheckForm()" value="恢复数据" /></div>
                        </li>
                    </ul>
                </div>
                </form>
            </div>
        </div>
        <div style="clear: both">
        </div>
    </div>
    <script type="text/javascript">
        function CheckForm() {
            if (window.confirm("数据还原可能会造成数据丢失，请谨慎操作!\n是否进行还原?")) {
                $("#form1").submit();
            }
            else {
                return false;
            }
            $("#Submit1").attr("disabled", false);
            return true;
        }
    </script>
</body>
</html>
